package com.scanx;


import com.scanx.conf.CommonConf;
import com.scanx.thread.directory.AnalyzeQueue;
import com.scanx.thread.directory.PathScanner;
import lombok.extern.slf4j.Slf4j;

import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.Properties;

/**
 * 文件扫描程序
 *
 * @author alpha.
 * @className App
 * @date 2024/2/6 10:30
 */
@Slf4j
public class App {


    public static void main(String[] args) throws InterruptedException {
        CommonConf.init();
        PathScanner.scan();
        while (true) {
            Thread.sleep(1000);
            System.out.println("当前数量：" + AnalyzeQueue.ANALYZE_QUEUE.size());
        }


    }


}
